package com.delu.service;

import com.delu.entity.User;
import org.springframework.stereotype.Service;

@Service
public interface UserService {
    User selectByName(String username);

    void insertUser(User user);

    void updateUserByUserName(String usrname);

    User selectUserIdByUserName(String usrname);

    void updateUserByUserId(User user);

    User selectUserIdByUserPhoneNum(String phoneNum);

    boolean selectPhoneNum(String phoneNum);
}
